package com.wx.model;

public class Users {
	private int userid;
	private String username;
	private String password;
	private String truename;
	private String gender;
	private String phone;
	private String home;
	public Users(int userid, String truename, String phone, String home, int postcode) {
		super();
		this.userid = userid;
		this.truename = truename;
		this.phone = phone;
		this.home = home;
		this.postcode = postcode;
	}
	private int postcode;
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTruename() {
		return truename;
	}
	public void setTruename(String truename) {
		this.truename = truename;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getHome() {
		return home;
	}
	public void setHome(String home) {
		this.home = home;
	}
	public int getPostcode() {
		return postcode;
	}
	public void setPostcode(int postcode) {
		this.postcode = postcode;
	}
	public Users(int userid, String username, String password, String truename, String gender, String phone, String home,
			int postcode) {
		super();
		this.userid = userid;
		this.username = username;
		this.password = password;
		this.truename = truename;
		this.gender = gender;
		this.phone = phone;
		this.home = home;
		this.postcode = postcode;
	}
	public Users(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}
	public Users() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Users [userid=" + userid + ", username=" + username + ", password=" + password + ", truename="
				+ truename + ", gender=" + gender + ", phone=" + phone + ", home=" + home + ", postcode=" + postcode
				+ "]";
	}
	public Users(String username,String truename, String gender, String phone, String home,
			int postcode) {
		super();
		this.username = username;
		this.truename = truename;
		this.gender = gender;
		this.phone = phone;
		this.home = home;
		this.postcode = postcode;
	}
	public Users(String username, String truename, String phone, String home, int postcode) {
		super();
		this.username = username;
		this.truename = truename;
		this.phone = phone;
		this.home = home;
		this.postcode = postcode;
	}
	
	
}
